#if !defined(__SURFACE_IMAGE_H)
#define __SURFACE_IMAGE_H

#include "interface.h"
#include "surface_affichable.h"
#include "commun/utilise_sdl.h"
#include <string>


extern const char chargement_image[];

class surface_image : public surface_affichable {
	SDL_Surface *charger_image(std::string) throw(erreur);
public:
	surface_image(std::string fichier, int x = 0, int y = 0, bool v = true, int nz = 0) throw(erreur) : surface_affichable(charger_image(fichier), x, y, v, nz) {}
	void changer(std::string fichier) throw(erreur);
};

#endif
